.edit-member-container {
  width: 100%;
  background: #F5F5F5;
  overflow-x: hidden;
  margin-bottom: 6px; // 为底部按钮留出空间
  box-shadow: 0px 4px 15px 0px rgba(0, 0, 0, 0.05);
}

// 顶部导航区域背景
.header-wrapper {
  width: 750px;
  background: #3F99F9;
  border-radius: 0px 0px 0px 0px;
  position: relative;
  margin: 0 auto;
}

// 顶部导航
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 44px 40px 33px 0px;
  background: transparent;
  position: relative;

  .header-back {
    width: 155px;
    height: 45px;
    font-family: Source Han Sans CN, Source Han Sans CN;
    font-weight: 500;
    font-size: 30px;
    color: #FFFFFF;
    text-align: left;
    font-style: normal;
    text-transform: none;
    padding-left: 40px;
    cursor: pointer;
  }

  .header-title {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 324px;
    height: 54px;
    font-family: 'Source Han Sans CN', 'Source Han Sans CN';
    font-weight: 500;
    font-size: 36px;
    color: #FFFFFF;
    text-align: center;
    font-style: normal;
    text-transform: none;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .header-action {
    font-family: 'Source Han Sans CN';
    font-weight: 500;
    font-size: 30px;
    color: #FFFFFF;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    &:active {
      opacity: 0.7;
    }
  }
}

// 表单容器
.form-container {
  background: #fff;
  margin-top: 20px;
  overflow: hidden;
  box-shadow: 0px 4px 15px 0px rgba(0, 0, 0, 0.05);
}

// 表单项
.form-item {
  display: flex;
  align-items: center;
  padding: 20px 40px;
  cursor: pointer;
  transition: background-color 0.2s;
  position: relative;

  // 使用伪元素创建缩短的border-bottom
  &::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 40px;
    right: 40px;
    height: 1px;
    background-color: #f0f0f0;
  }
  &.job-info-item {
    .form-value {
      justify-content: flex-end; /* 确保靠右显示 */
    }
    
    .custom-field {
      :deep(.van-field__control) {
        text-align: right; /* 让输入框内容靠右显示 */
      }
    }
  }
  .form-label {
    // width: 160px;
    font-family: Source Han Sans CN, Source Han Sans CN;
    font-weight: 400;
    font-size: 32px;
    color: #171A1D;
    letter-spacing: 1px;
    text-align: left;
    font-style: normal;
    text-transform: none;
    flex-shrink: 0;
  }

  .form-value {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--van-cell-vertical-padding);

    .selected-department,
    .selected-date,
    .selected-role {
      font-family: Source Han Sans CN, Source Han Sans CN;
      font-weight: 400;
      font-size: 32px;
      color: #666666;
      letter-spacing: 1px;
      text-align: left;
    }

    

    .placeholder {
      font-family: Source Han Sans CN, Source Han Sans CN;
      font-weight: 400;
      font-size: 32px;
      color: #999999;
      letter-spacing: 1px;
      text-align: left;
    }

    .arrow-icon {
      font-size: 24px;
      color: #999999;
    }
  }

  .custom-field {
    flex: 1;

    :deep(.van-field__control) {
      font-family: Source Han Sans CN, Source Han Sans CN;
      font-weight: 400;
      font-size: 32px;
      color: #666666;
      letter-spacing: 1px;
      text-align: left;

      &::placeholder {
        color: #999999;
        font-size: 32px;
      }
    }

    :deep(.van-field__body) {
      padding: 0;
    }
  }
}

.message_title {

  font-family: Source Han Sans CN, Source Han Sans CN;
  font-weight: 500;
  font-size: 24px;
  color: #999999;
  text-align: left;
  font-style: normal;
  text-transform: none;
  padding-top: 34px;
  padding-left: 38px;
  padding-bottom: 10px;
  background: #F2F2F6;
}

// 底部操作按钮
.bottom-actions {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #F5F5F5;
  // padding: 30px 40px 50px;
  padding: 0 83px 104px 83px;
  z-index: 100;
}

.action-buttons {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.action-btn {
  width: 100%;
  height: 88px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Source Han Sans CN';
  font-weight: 500;
  font-size: 32px;
  cursor: pointer;
  transition: all 0.2s;

  span {
    font-family: Source Han Sans CN, Source Han Sans CN;
    font-weight: 400;
    font-size: 32px;
    color: #FFFFFF;
    letter-spacing: 1px;
    text-align: center;
    font-style: normal;
    text-transform: none;
  }

  &:active {
    opacity: 0.8;
    transform: scale(0.98);
  }
}

.delete-btn {
  background: #2D67B0;

}

.resign-btn {
  background: #2D67B0;

}